import 'package:flutter/material.dart';
import 'package:flutter_basic/basic/basic_view.dart';
import 'controller.dart';

class PaperPage extends BasicPage<PaperPageController>{
  PaperPage.bind(controller, {String? tag}) : super.bind(controller, tag: tag);

  @override
  Widget build(BuildContext context) {
    print('build-build:${this.runtimeType}');
    return Scaffold(
      appBar: AppBar(
        title: Text('睇楼纸'),
        centerTitle: true,
      ),
      body: Column(
        mainAxisAlignment: MainAxisAlignment.center,
        children: [
          GestureDetector(
            onTap: (){
              // BoostNavigator.instance.push(RouteManager.second);
            },
            child: Center(
              child: Container(
                height: 100,
                child: Text('睇楼纸页面'),
              ),
            ),
          )
        ],
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: (){

        },
        tooltip: 'Increment',
        child: const Icon(Icons.add),
      ),
    );
  }
}
